/**
 * createor: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 10:55:07
 */
import request from '@/utils/request'

export function qr_sys_roleAdd(data) {
  return request({
    url: '/wmyw/qr_sys_role/add',
    method: 'post',
    data
  })
}

export function qr_sys_roleUpdate(data) {
  return request({
    url: '/wmyw/qr_sys_role/update',
    method: 'post',
    data
  })
}

export function qr_sys_roleDel(data) {
  return request({
    url: '/wmyw/qr_sys_role/del',
    method: 'post',
    data
  })
}

export function qr_sys_roleSelect(data) {
  return request({
    url: '/wmyw/qr_sys_role/select',
    method: 'post',
    data
  })
}

export function qr_sys_roleSelectpage(data) {
  return request({
    url: '/wmyw/qr_sys_role/selectpage',
    method: 'post',
    data
  })
}

export function qr_sys_roleSelecttree(data) {
  return request({
    url: '/wmyw/qr_sys_role/selecttree',
    method: 'get',
    params:data
  })
}

export function qr_sys_roleInfo(data) {
  return request({
    url: '/wmyw/qr_sys_role/info',
    method: 'get',
    params:data
  })
}